home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / pc / TR-TURBO.ZIP / TURBO.PPE (.txt) < prev   
Encoding:
PCBoard Programming Language Executable  |  1996-11-28  |  1.7 KB  |  132 lines

  1. ;------------------------------------------------------------------------------
  2. ;                                                   .ss.
  3. ;                                                   `²²'
  4. ;             .,sS$Ss,,s$  .,sS$$$Ss.  .,sS$Ss,,s$ .ss.  .sSs.
  5. ;           .d$$²^°²$$$$'.d$P²°^^²$P'.d$$²^°²$$$$'.$$$' .$$$²Sb,.
  6. ;           $$$'   .$$$' $$$²Sçsµ²' .$$$'   .$$$'.$$$' .$$$'  `$$b.
  7. ;           $$$b,,d$$$' ,$$$b,....,s$$$$b,,d$$$'.$$$;.,$$$'    ;$$$
  8. ;           `²S$$S²²S$$S²°²S$$$$S²°°²S$$$$$$',$$S²°²S$S'.sS$$$P²'
  9. ;                                    .sS²°$$$²²°"'       d²°'
  10. ;                                  .$$²  .$$'
  11. ;                                  $$$.,d$$'
  12. ;                                  `²S$$S²'
  13. ;------------------------------------------------------------------------------
  14. ; P.P.L.X. 2.OO                          (C)1996 - Lone Runner / AEGiS CoRP'96 
  15. ;------------------------------------------------------------------------------
  16. ; PPE 2.OO (plain) - Analysis ON - Postprocessing ON
  17. ;------------------------------------------------------------------------------
  18.  
  19.     String   STRING001
  20.     String   STRING002
  21.     String   STRING003
  22.     String   STRING004
  23.  
  24. ;------------------------------------------------------------------------------
  25.  
  26.     STRING003 = ReadLine(PPEPath() + "TURBO.CFG", 1)
  27.     GetUser
  28.     If (U_Sec < STRING003) Goto LABEL005
  29.     STRING001 = " No turbo login!      "
  30.     STRING002 = " Yes, turbo login!    "
  31.     Cls
  32.     DispFile PPEPath() + "TURBO.PCB", 1
  33.     :LABEL001
  34.     AnsiPos 6, 5
  35.     Print "@X5D" + STRING001
  36.     AnsiPos 6, 6
  37.     Print "@X08" + STRING002
  38.     AnsiPos 1, 12
  39.     Color 0
  40.     Print " "
  41.     Backup 1
  42.     :LABEL002
  43.     STRING004 = ""
  44.     STRING004 = Inkey()
  45.     While ((STRING004 == "")) Goto LABEL002
  46.     If ((Upper(STRING004) == "DOWN") || (STRING004 == "2")) Goto LABEL003
  47.     If ((Upper(STRING004) == "UP") || (STRING004 == "8")) Goto LABEL003
  48.     If (STRING004 == Chr(13)) Goto LABEL005
  49.     If (Upper(STRING004) == "A") Goto LABEL007
  50.     If (Upper(STRING004) == "B") Goto LABEL008
  51.     Goto LABEL002
  52.     :LABEL003
  53.     AnsiPos 6, 5
  54.     Print "@X08" + STRING001
  55.     AnsiPos 6, 6
  56.     Print "@X5D" + STRING002
  57.     Color 0
  58.     Print " "
  59.     Backup 1
  60.     :LABEL004
  61.     STRING004 = ""
  62.     STRING004 = Inkey()
  63.     While (((Upper(STRING004) == "DOWN") || (STRING004 == "2"))) Goto LABEL001
  64.     If ((Upper(STRING004) == "UP") || (STRING004 == "8")) Goto LABEL001
  65.     If (STRING004 == Chr(13)) Goto LABEL006
  66.     If (Upper(STRING004) == "A") Goto LABEL005
  67.     If (Upper(STRING004) == "B") Goto LABEL006
  68.     Goto LABEL004
  69.     :LABEL005
  70.     Cls
  71.     DispFile PPEPath() + "LOGON.TXT", 1
  72.     End
  73.     :LABEL006
  74.     Cls
  75.     End
  76.     :LABEL007
  77.     AnsiPos 15, 9
  78.     Print "@X0Fa"
  79.     Goto LABEL005
  80.     :LABEL008
  81.     AnsiPos 15, 9
  82.     Print "@X0Fb"
  83.     Goto LABEL006
  84.  
  85. ;------------------------------------------------------------------------------
  86. ;
  87. ; Usage report (before postprocessing)
  88. ;
  89. ; ■ Statements used :
  90. ;
  91. ;    2       End
  92. ;    3       Cls
  93. ;    2       Color 
  94. ;    18      Goto 
  95. ;    7       Let 
  96. ;    8       Print 
  97. ;    12      If 
  98. ;    2       DispFile 
  99. ;    1       GetUser
  100. ;    7       AnsiPos 
  101. ;    2       Backup 
  102. ;
  103. ;
  104. ; ■ Functions used :
  105. ;
  106. ;    7       +
  107. ;    15      ==
  108. ;    1       <
  109. ;    4       ||
  110. ;    8       Upper()
  111. ;    2       Chr()
  112. ;    2       Inkey()
  113. ;    3       PPEPath()
  114. ;    1       ReadLine()
  115. ;
  116. ;------------------------------------------------------------------------------
  117. ;
  118. ; Analysis flags : No flag
  119. ;
  120. ;------------------------------------------------------------------------------
  121. ;
  122. ; Postprocessing report
  123. ;
  124. ;    0       For/Next
  125. ;    0       While/EndWhile
  126. ;    0       If/Then or If/Then/Else
  127. ;    0       Select Case
  128. ;
  129. ;------------------------------------------------------------------------------
  130. ;                 AEGiS Corp - Break the routines, code against the machines!
  131. ;------------------------------------------------------------------------------
  132.